package com.intellagric.mapper;

import com.intellagric.pojo.TraceFieldType;
import com.intellagric.pojo.TraceFieldTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceFieldTypeMapper {
    long countByExample(TraceFieldTypeExample example);

    int deleteByExample(TraceFieldTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceFieldType record);

    int insertSelective(TraceFieldType record);

    List<TraceFieldType> selectByExample(TraceFieldTypeExample example);

    TraceFieldType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceFieldType record, @Param("example") TraceFieldTypeExample example);

    int updateByExample(@Param("record") TraceFieldType record, @Param("example") TraceFieldTypeExample example);

    int updateByPrimaryKeySelective(TraceFieldType record);

    int updateByPrimaryKey(TraceFieldType record);
}